<!-- 页面标签 -->
<div class="layadmin-pagetabs" id="LAY_app_tabs">
    <div class="layui-icon layadmin-tabs-control layui-icon-prev" layadmin-event="leftPage">
    </div>
    <div class="layui-icon layadmin-tabs-control layui-icon-next" layadmin-event="rightPage">
    </div>
    <div class="layui-icon layadmin-tabs-control layui-icon-down">
        <ul class="layui-nav layadmin-tabs-select" lay-filter="layadmin-pagetabs-nav">
            <li class="layui-nav-item" lay-unselect="">
                <a href="javascript:;">
                </a>
                <dl class="layui-nav-child layui-anim-fadein">
                    <dd layadmin-event="closeThisTabs">
                        <a href="javascript:;">
                            关闭当前标签页
                        </a>
                    </dd>
                    <dd layadmin-event="closeOtherTabs">
                        <a href="javascript:;">
                            关闭其它标签页
                        </a>
                    </dd>
                    <dd layadmin-event="closeAllTabs">
                        <a href="javascript:;">
                            关闭全部标签页
                        </a>
                    </dd>
                </dl>
            </li>
        </ul>
    </div>
    <div class="layui-tab" lay-allowclose="true" lay-filter="layadmin-layout-tabs" lay-unauto="">
        <ul class="layui-tab-title" id="LAY_app_tabsheader">
            <li class="layui-this" lay-attr="home/console.html" lay-id="home/console.html">
                <i class="layui-icon layui-icon-home">
                </i>
            </li>
        </ul>
    </div>
</div>
<!-- 主体内容 -->
<div class="layui-body" id="LAY_app_body">
    <div class="layadmin-tabsbody-item layui-show">
        <iframe height="100%" id="default_iframe" src="" width="100%">
        </iframe>
    </div>
</div>
<!-- 辅助元素，一般用于移动设备下遮罩 -->
<div class="layadmin-body-shade" layadmin-event="shade">
</div>
<script type="text/javascript">
    layui.use('index',function(){
          var $ = layui.jquery;
          var _iframe = '';
          $("#LAY-system-side-menu a").each(function(i,v){
 
            if($(v).attr("lay-href")!=undefined){
              _iframe = $(v).attr("lay-href");            
                $('#default_iframe').attr('src',_iframe);
                return false;
            }
          })
        })
</script>